package com.wyk.serice.impl;

import com.wyk.mapper.AccountMapper;
import com.wyk.serice.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.ServiceMode;
import java.math.BigDecimal;

/**
 * @author WangYuKai
 * @Date 2022/8/5
 * @apiNote
 */
@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    private AccountMapper accountMapper;
    @Override
    public int updateMoney(Long userId, BigDecimal money) {
        return accountMapper.updateMoney(userId, money);
    }
}
